css remove white space below footer

40

<body>
    <section>
        This is content of the page
    </section>
    <footer>
        Text of footer
    </footer>
</body>

section {
    min-height: 100vh; /* minus the height of the footer */
}

Comments

Submit
0 Comments